package com.medicine.product.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @author Leethea_廖南洲
 * @version 1.0
 * @date 2020/5/13 18:32
 **/
@Getter
@Setter
@ApiModel(description = "分页实体")
public class BasePageDto {

	@NotNull(message = "页码字段（pageNum）不能为空")
	@ApiModelProperty(value = "页码", required = true)
	private Integer pageNum;
	@NotNull(message = "页大小（pageSize）字段不能为空")
	@ApiModelProperty(value = "页大小", required = true)
	private Integer pageSize;
}
